package com.ruoyi.his.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 挂号收费对象 his_department
 * 
 * @author ruoyi
 * @date 2021-11-04
 */
public class HisDepartment extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** UUID */
    private String id;

    /** 创建时间 */
    @Excel(name = "创建时间")
    private String createDatetime;

    /** 地址 */
    @Excel(name = "地址")
    private String address;

    /** 科室编码 */
    private Long code;

    /** 科室名称 */
    @Excel(name = "科室名称")
    private String name;

    /** 拼音代码 */
    @Excel(name = "拼音代码")
    private String nameCode;

    /** 0代表普通门诊1代表急诊 */
    @Excel(name = "0代表普通门诊1代表急诊")
    private Long type;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setCreateDatetime(String createDatetime) 
    {
        this.createDatetime = createDatetime;
    }

    public String getCreateDatetime() 
    {
        return createDatetime;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setCode(Long code) 
    {
        this.code = code;
    }

    public Long getCode() 
    {
        return code;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setNameCode(String nameCode) 
    {
        this.nameCode = nameCode;
    }

    public String getNameCode() 
    {
        return nameCode;
    }
    public void setType(Long type) 
    {
        this.type = type;
    }

    public Long getType() 
    {
        return type;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("createDatetime", getCreateDatetime())
            .append("address", getAddress())
            .append("code", getCode())
            .append("name", getName())
            .append("nameCode", getNameCode())
            .append("type", getType())
            .toString();
    }
}
